<template>
  <div>
    <div>
    </div>
    <el-table :data="tableData" @row-click="mmm">
      <el-table-column :label="wef" prop="id" :width="wefwidth"></el-table-column>
      <slot></slot>
    </el-table>
  </div>
</template>

<script>
export default {
  props: {
    tableData: {
      type: Array,
      default:function () {
        return []
    },
    },
     wef:{
         type:String,
         default:"sid"
     },
     wefwidth:{
         type:String,
         default:"50"
     }
  },
  data() {
    return {
    };
  },

  methods: {
    mmm(row) {
      this.$emit("childEvent", row);
    },
    myclick() {}
  }
};
</script>

<style>
</style>